package sv_tcp

import (
	"venus/service/sv_tcp/znet"
)

func GetSv() *SvTcp {
	return _Sv
}

func Bind(msg interface{}, handle func(*znet.Request) int) {
	sv := GetSv()
	sv.TcpWorkerBind(msg, handle)
}

func BindSpeedy(msg interface{}, handle func(*znet.Request) int) {
	sv := GetSv()
	sv.TcpWorkerBindSpeedy(msg, handle)
}
